package org.linlinjava.litemall.db.domain;

import java.util.Date;

public class LitemallNews {

    //新闻id
    private Integer id;

    //新闻作者
    private int author;

    //新闻作者名字
    private String authorname;

    //新闻标题
    private String title;

    //新闻内容
    private String context;

    //新闻图片地址
    private String picUrl;

    //新闻发布时间
    private Date addTime;

    //修改更新时间
    private Date updateTime;

    /**
     * 新闻类型
     */
    private String newstype;

    /**
     * 浏览次数
     */
    private  int looks;

    /**
     * 点赞数
     */
    private  int dianzan;

    /**
     * 踩 数
     */
    private  int cai;

    /**
     * 转发
     */
    private  int zhuanfa;

    /**
     * 收藏
     */
    private  int shoucang;

    /**
     *评论
     */
    private  int pinglun;

    /**
     * 逻辑删除
     */
    private  int isdelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getAuthor() {
        return author;
    }

    public void setAuthor(int author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAuthorname() {
        return authorname;
    }

    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    public String getNewstype() {
        return newstype;
    }

    public void setNewstype(String newstype) {
        this.newstype = newstype;
    }

    public int getLooks() {
        return looks;
    }

    public void setLooks(int looks) {
        this.looks = looks;
    }

    public int getDianzan() {
        return dianzan;
    }

    public void setDianzan(int dianzan) {
        this.dianzan = dianzan;
    }

    public int getCai() {
        return cai;
    }

    public void setCai(int cai) {
        this.cai = cai;
    }

    public int getZhuanfa() {
        return zhuanfa;
    }

    public void setZhuanfa(int zhuanfa) {
        this.zhuanfa = zhuanfa;
    }

    public int getShoucang() {
        return shoucang;
    }

    public void setShoucang(int shoucang) {
        this.shoucang = shoucang;
    }

    public int getPinglun() {
        return pinglun;
    }

    public void setPinglun(int pinglun) {
        this.pinglun = pinglun;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }
}
